if (scroll_inc != 0)
{
- gtk_adjustment_set_value (text_view->priv->vadjustment,
- current_y_scroll + scroll_inc);
+ gtk_adjustment_animate_to_value (text_view->priv->vadjustment,
+ current_y_scroll + scroll_inc);
DV (g_print (" vert increment %d\n", scroll_inc));
}
if (scroll_inc != 0)
{
- gtk_adjustment_set_value (text_view->priv->hadjustment,
- current_x_scroll + scroll_inc);
+ gtk_adjustment_animate_to_value (text_view->priv->hadjustment,
+ current_x_scroll + scroll_inc);
DV (g_print (" horiz increment %d\n", scroll_inc));
}